
// 去除按钮默认样式
@mixin clearBtn{
    border: 0;
    background-color: transparent;
    outline: none;
}

// 图片居中显示
@mixin imgCenter{
    width:50%;
    height: 50%;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    &>img{
        width:100%;
    }
}

// 个人中心
#person {
    background: #f5f5f5;
    width:100%;
    // 个人中心模板
    .person-con {
        width: 1200px;
        margin: 0 auto;
        .person-all{
            padding-top: 20px;
            padding-bottom: 100px;
            .person-aside {
                width: 16%;
                float: left;
                background-color: rgb(238, 241, 246);
                .person-aside-all {
                    padding: 20px;
                    width: 80%;
                    height: 650px;
                    background: #fff;
                    // 标题
                    .aside-title1,.aside-title2{
                        height: 40px;
                        width:100%;
                        .icon-daohang-text{
                            display:inline-block;
                            height: 40px;
                        }
                    }
                    .aside-title2-con{
                        overflow: hidden;
                        .aside-title-list{
                            // height: 40px;
                            line-height: 40px;
                            padding-left:34px;
                            font-size: 14px;
                            color:#666;
                        }
                        .aside-title-list:hover{
                            background: #eee;
                            color:orangered;
                        }
                    }
                }
            }
            
            // 右边内容
            .right-con {
                width: 75%;
                background-color: #fff;
                padding: 45px;
                margin-top: 0px;
                background: #fff;
                float: right;
                margin-bottom:100px;
                // ffffffffffffffffffffffffffffffffffffffffffffffffff
                // 个人中心模板
                .person-template {
                    // 个人中心标题
                    .right-h3 {
                        height: 30px;
                        font-size: 20px;
                    }
                    // 个人信息
                    .right-info {
                        width: 100%;
                        height: 100px;
                        margin-top: 20px;
                        display: flex;
                        box-shadow: 0px 0px 3px #ccc;
                        position: relative;
                        background: #fff;
                        // 头像
                        .right-touxiang {
                            flex: 1;
                            .touxiang-img {
                                width: 80px;
                                height: 80px;
                                background: orangered;
                                border-radius: 80px;
                                margin: 10px 0 10px 10px;
                                position: relative;
                                overflow: hidden;
                                .touxiang-img-con {
                                    width: 80px;
                                    position: absolute;
                                    top: 52%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                    &>img {
                                        width: 100%;
                                    }
                                }
                            }
                            .touxiang-text-con {
                                position: absolute;
                                display: block;
                                top: 25px;
                                left: 100px;
                                width: 100px;
                                height: 50px;
                                .text-con1 {
                                    font-size: 14px;
                                    font-weight: bold;
                                    float: left;
                                    line-height: 25px;
                                }
                                .text-con2 {
                                    font-size: 8px;
                                    color: #666;
                                    padding-top: 5px;
                                    float: left;
                                }
                                .text-con3{
                                    float: right;
                                }
                            }
                        }
                        // 积分
                        .right-jifen {
                            flex: 1;
                            text-align: center;
                            .jifen-text {
                                width: 80px;
                                height: 100px;
                                float: right;
                                &>span {
                                    width: 60px;
                                    height: 30px;
                                    display: inline-block;
                                    margin-top: 35px;
                                    line-height: 30px;
                                    font-size: 16px;
                                    font-weight: bold;
                                    text-align: right;
                                }
                                .jifen-text-con{
                                    .text-num{
                                        font-size: 24px;
                                    }
                                }
                            }
                            // 积分按钮
                            .jifen-btn {
                                width: 100px;
                                height: 100px;
                                float: right;
                                &>span {
                                    width: 80px;
                                    height: 30px;
                                    display: inline-block;
                                    color: #fff;
                                    margin-top: 35px;
                                    line-height: 30px;
                                    border-radius: 3px;
                                    background:linear-gradient(90deg,rgba(217,46,30,1),rgba(255,86,43,1));
                                }
                            }
                        }
                    }
                    //三个板块
                    .four-con {
                        width: 100%;
                        margin-top: 50px;
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: space-between;
                        .four-con-one {
                            margin: 10px;
                            width: 30%;
                            height: 120px;
                            border: 1px solid #ccc;
                            display: flex;
                            justify-content: center;
                            .con-one-text {
                                width: 130px;
                                height: 60px;
                                margin-top: 30px;
                                line-height: 60px;
                                .one-text-left {
                                    float: left;
                                    width: 60px;
                                    height: 60px;
                                    border-radius: 60px;
                                    overflow: hidden;
                                    img {
                                        width: 100%;
                                    }
                                }
                                .one-text-right {
                                    float: right;
                                    font-weight: bold;
                                }
                            }
                        }
                    }
                    //  空元素撑开页面
                    .noCon{
                        width:100%;
                        height: 1px;
                        margin-top: 280px;
                    }
                }
                // 招商放单中心模板
                .apply-template {
                    font-size: 14px;
                    height: 600px;
                    // 招商放单模板标题
                    .right-h3 {
                        height: 30px;
                        font-size: 20px;
                    }
                    // 选项：
                    .apply-radio {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                    }
                    // 个人/团队名称：
                    .apply-teamName {
                        width: 100%;
                        margin-top: 25px;
                        display: flex;
                        line-height: 40px;
                        .teamName-left {
                            flex: 1;
                        }
                        .teamName-middle {
                            flex: 6;
                        }
                        .teamName-right {
                            flex: 2;
                        }
                    }
                    // 导购文案
                    .apply-copywriter {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                        line-height: 40px;
                        .copywriter-left {
                            flex: 1;
                        }
                        .copywriter-middle {
                            flex: 6;
                            &>input {
                                border: 0;
                                background-color: transparent;
                                outline: none;
                                border-radius: 3px;
                                padding-left: 5px;
                            }
                        }
                        .copywriter-right {
                            flex: 2;
                        }
                    }
                    // 确认提交按钮
                    .apply-submit {
                        width: 100%;
                        margin-top: 10px;
                        display: flex;
                        line-height: 40px;
                        .submit-left {
                            flex: 1;
                        }
                        .submit-middle {
                            flex: 6;
                            &>input {
                                outline: none;
                                width: 100px;
                                height: 40px;
                                border-radius: 3px;
                                padding-left: 5px;
                                background:linear-gradient(90deg,rgba(217,46,30,1),rgba(255,86,43,1));
border-radius:4px;
                                color: #fff;
                            }
                        }
                        .submit-right {
                            flex: 2;
                        }
                    }
                }
                // 发布推广模板
                .issue-template {
                    font-size: 14px;
                    background: #fff;
                    // 发布模板标题
                    .right-h3 {
                        height: 30px;
                        font-size: 20px;
                    }
                    // 商品链接框
                    .shop-link-con {
                        width: 100%;
                        margin-top: 20px;
                        display: flex;
                        line-height: 40px;
                        .link-con-left {
                            flex: 1;
                        }
                        .link-con-middle {
                            flex: 8;
                            &>input {
                                width: 95%;
                            }
                        }
                        .link-con-right {
                            flex: 2;
                            &>input {
                                border: 0;
                                width: 120px;
                                height: 40px;
                                border: 1px solid #ccc;
                                border-radius: 3px;
                                margin-left: 20px;
                                background:linear-gradient(90deg,rgba(217,46,30,1),rgba(255,86,43,1));
                                color: #fff;
                            }
                        }
                    }
                    // 商品展示
                    .shop-show {
                        width: 100%;
                        margin-top: 20px;
                        display: flex;
                        line-height: 40px;
                        background: #fff;
                        .show-left {
                            flex: 1;
                        }
                        .show-img-con {
                            flex: 8;
                            position: relative;
                            .img-con {
                                width: 100px;
                                height: 100px;
                                background: #ccc;
                                margin-top: 10px;
                                margin-right: 10px;
                                position: relative;
                                float: left;
                                &>img {
                                    position: absolute;
                                    top: 50%;
                                    left: 50%;
                                    transform: translate(-50%, -50%);
                                    width: 100%;
                                }
                            }
                        }
                        .show-right {
                            flex: 2;
                        }
                    }
                    // 商品标题
                    .shop-title {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                        line-height: 40px;
                        .title-left {
                            flex: 1;
                        }
                        .title-middle {
                            flex: 8;
                            &>input {
                                border: 0;
                                background-color: transparent;
                                outline: none;
                                width: 95%;
                                height: 30px;
                                border: 1px solid #ccc;
                                border-radius: 3px;
                                padding-left: 5px;
                            }
                        }
                        .title-right {
                            flex: 2;
                        }
                    }
                    // 所属分类
                    .shop-class {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                        line-height: 40px;
                        .class-left {
                            flex: 1;
                        }
                        .class-middle {
                            flex: 8;
                            &>input {
                                border: 0;
                                background-color: transparent;
                                outline: none;
                                width: 95%;
                                height: 30px;
                                border: 1px solid #ccc;
                                border-radius: 3px;
                                padding-left: 5px;
                            }
                        }
                        .class-right {
                            flex: 2;
                        }
                    }
                    // 商品评分
                    .shop-score {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                        line-height: 40px;
                        .score-left {
                            flex: 1;
                            display: flex;
                            .score-left-text {
                                flex: 2;
                            }
                            // 添加商品数据
    
                            .score-left-con {
                                flex: 2;
                                font-size: 12px;
                                .score-left-input {
                                    padding-left: 15px;
                                    width: 100px;
                                    height: 40px;
                                    border-radius: 5px;
                                    background: #eee;
                                    &>input{
                                        @include clearBtn;
                                        width:110px;
                                    }
                                }
                            }
                            .score-span {
                                flex: 1;
                            }
                        }
                        .score-middle {
                            flex: 1;
                        }
                        .score-right {
                            flex: 1;
                        }
                    }
                    // 销量,优惠券金额，佣金比例
                    .shop-sales {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                        line-height: 40px;
                        .sales-left {
                            flex: 1;
                            display: flex;
                            .sales-left-text {
                                flex: 2;
                            }
                            .sales-left-con {
                                flex: 2;
                                font-size: 12px;
                                .sales-left-input {
                                    padding-left: 15px;
                                    width: 110px;
                                    height: 40px;
                                    border-radius: 5px;
                                    background: #eee;
                                    &>input{
                                        @include clearBtn;
                                        width:110px;
                                    }
                                }
                            }
                            .sales-span {
                                flex: 1;
                            }
                        }
                        .sales-middle {
                            flex: 1;
                        }
                        .sales-right {
                            flex: 1;
                        }
                    }
                    // 导购文案
                    .shop-copywriter {
                        width: 100%;
                        margin-top: 40px;
                        display: flex;
                        line-height: 40px;
                        .copywriter-left {
                            flex: 1;
                        }
                        .copywriter-middle {
                            flex: 8;
                            &>input {
                                border: 0;
                                background-color: transparent;
                                outline: none;
                                border-radius: 3px;
                                padding-left: 5px;
                            }
                        }
                        .copywriter-right {
                            flex: 2;
                        }
                    }
                    // 确认提交按钮
                    .shop-submit {
                        width: 100%;
                        margin-top: 10px;
                        display: flex;
                        line-height: 40px;
                        .submit-left {
                            flex: 1;
                        }
                        .submit-middle {
                            flex: 8;
                            &>input {
                                outline: none;
                                width: 100px;
                                height: 40px;
                                border-radius: 3px;
                                padding-left: 5px;
                                color: #fff;
                                background:linear-gradient(90deg,rgba(217,46,30,1),rgba(255,86,43,1));
                            }
                        }
                        .submit-right {
                            flex: 2;
                        }
                    }
                }
                // 商品管理模板
                .manage-template {
                    //标题
                    .right-h3 {
                        height: 30px;
                        font-size: 20px;
                    }
                    // 搜索
                    .manage-link-con {
                        width: 100%;
                        margin-top: 20px;
                        display: flex;
                        line-height: 40px;
                        .manage-con-left {
                            flex: 1;
                        }
                        .manage-con-middle {
                            flex: 8;
                            &>input {
                                width: 95%;
                            }
                        }
                        .manage-con-right {
                            flex: 2;
                            &>input {
                                border: 0;
                                width: 120px;
                                height: 40px;
                                border: 1px solid #ccc;
                                border-radius: 3px;
                                margin-left: 20px;
                                background:linear-gradient(90deg,rgba(217,46,30,1),rgba(255,86,43,1));
                                color: #fff;
                            }
                        }
                    }
                    // 分类搜索
                    .class-link-con {
                        width: 100%;
                        margin-top: 20px;
                        display: flex;
                        line-height: 40px;
                        .class-con-right {
                            width: 140px;
                            &>input {
                                border: 0;
                                width: 120px;
                                height: 40px;
                                @include clearBtn;
                                border-radius: 3px;
                                margin-right: 0px;
                                background: #ccc;
                                color: #fff;
                            }
                        }
                    }
                    // 分类展示
                    .classShow-link-con {
                        width: 100%;
                        margin-top: 20px;
                        display: flex;
                        line-height: 40px;
                        .classShow-con-right {
                            flex: 1;
                            &>input {
                                border: 0;
                                width: 100%;
                                height: 40px;
                                background: #E9EFF5;
                                font-weight: 500;
                                border:1px solid #eee;
                            }
                            &>div{
                                height: 40px;
                                background: #E9EFF5;
                                font-weight: 500;
                                border:1px solid #eee;
                                text-align: center;
                            }
                        }
                    }
                    // 分类展示内容
                    .classList-link-con {
                        width: 100%;
                        display: flex;
                        line-height: 40px;
                        border: 1px solid #ccc;
                        border-top:none;
                        box-sizing: border-box;
                        .classShow-con-right {
                            flex: 1;
                            width: 100%;
                            height: 60px;
                            line-height: 60px;
                            &>input {
                                 width: 100%;
                                border: 0;
                                font-weight: 500;
                                background: #fff;
                            }
                            .con-right-img{
                                width:100%;
                                height: 50px;
                                margin-left: 40px;
                                overflow: hidden;
                                &>img{
                                    width:40%;
                                }
                            }

                        }
                    }
                    .noShop-tip {
                        width: 100%;
                        margin-top: 20px;
                        line-height: 40px;
                        text-align: center;
                        font-size: 14px;
                        color: #bbb;
                    }
                    .noCon{
                        width:100%;
                        height: 1px;
                        margin-top: 390px;
                    }
                }
            }
        }
    }
}



.icon-yonghudianji,
.icon-daohang {
    font-size: 20px;
    color:orangered;
}

.icon-yonghudianji:before {
    font-size: 18px;
    margin-right: 10px;
    margin-left: 5px;
}

.icon-xiangshang:before{
    margin-left:30px;
}
.icon-xiangxia:before{
    margin-left:30px;
}

.icon-daohang:before {
    font-size: 24px;
    margin-right: 10px;
    display: block;
    float: left;
}



// 动画
.fade-enter-active, .fade-leave-active {
    transition: height 1s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
    
    height: 40px;
}


.el-radio__input.is-checked+.el-radio__label{
    color:orangered !important;
}
.el-radio__input.is-checked .el-radio__inner{
    background-color: orangered !important;
    border-color:orangered !important;
}


// 导航条颜色
.navClass{
    background: skyblue !important;
    color:#fff;
}